3.1.96 \(\int (d x)^m (a+b \tanh ^{-1}(c x^2)) \, dx\) [96]

Optimal. Leaf size=74 \[ \frac {(d x)^{1+m} \left (a+b \tanh ^{-1}\left (c x^2\right )\right )}{d (1+m)}-\frac {2 b c (d x)^{3+m} \, _2F_1\left (1,\frac {3+m}{4};\frac {7+m}{4};c^2 x^4\right )}{d^3 (1+m) (3+m)} \]

[Out]

(d*x)^(1+m)*(a+b*arctanh(c*x^2))/d/(1+m)-2*b*c*(d*x)^(3+m)*hypergeom([1, 3/4+1/4*m],[7/4+1/4*m],c^2*x^4)/d^3/(
1+m)/(3+m)

________________________________________________________________________________________

Rubi [A]
time = 0.03, antiderivative size = 74, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.125, Rules used = {6049, 371} \begin {gather*} \frac {(d x)^{m+1} \left (a+b \tanh ^{-1}\left (c x^2\right )\right )}{d (m+1)}-\frac {2 b c (d x)^{m+3} \, _2F_1\left (1,\frac {m+3}{4};\frac {m+7}{4};c^2 x^4\right )}{d^3 (m+1) (m+3)} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(d*x)^m*(a + b*ArcTanh[c*x^2]),x]

[Out]

((d*x)^(1 + m)*(a + b*ArcTanh[c*x^2]))/(d*(1 + m)) - (2*b*c*(d*x)^(3 + m)*Hypergeometric2F1[1, (3 + m)/4, (7 +
 m)/4, c^2*x^4])/(d^3*(1 + m)*(3 + m))

Rule 371

Int[((c_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[a^p*((c*x)^(m + 1)/(c*(m + 1)))*Hyperg
eometric2F1[-p, (m + 1)/n, (m + 1)/n + 1, (-b)*(x^n/a)], x] /; FreeQ[{a, b, c, m, n, p}, x] &&  !IGtQ[p, 0] &&
 (ILtQ[p, 0] || GtQ[a, 0])

Rule 6049

Int[((a_.) + ArcTanh[(c_.)*(x_)^(n_.)]*(b_.))*((d_)*(x_))^(m_), x_Symbol] :> Simp[(d*x)^(m + 1)*((a + b*ArcTan
h[c*x^n])/(d*(m + 1))), x] - Dist[b*c*(n/(d^n*(m + 1))), Int[(d*x)^(m + n)/(1 - c^2*x^(2*n)), x], x] /; FreeQ[
{a, b, c, d, m, n}, x] && IntegerQ[n] && NeQ[m, -1]

Rubi steps

\begin {align*} \int (d x)^m \left (a+b \tanh ^{-1}\left (c x^2\right )\right ) \, dx &=\frac {(d x)^{1+m} \left (a+b \tanh ^{-1}\left (c x^2\right )\right )}{d (1+m)}-\frac {(2 b c) \int \frac {x (d x)^{1+m}}{1-c^2 x^4} \, dx}{d (1+m)}\\ &=\frac {(d x)^{1+m} \left (a+b \tanh ^{-1}\left (c x^2\right )\right )}{d (1+m)}-\frac {(2 b c) \int \frac {(d x)^{2+m}}{1-c^2 x^4} \, dx}{d^2 (1+m)}\\ &=\frac {(d x)^{1+m} \left (a+b \tanh ^{-1}\left (c x^2\right )\right )}{d (1+m)}-\frac {2 b c (d x)^{3+m} \, _2F_1\left (1,\frac {3+m}{4};\frac {7+m}{4};c^2 x^4\right )}{d^3 (1+m) (3+m)}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.05, size = 64, normalized size = 0.86 \begin {gather*} -\frac {x (d x)^m \left (-\left ((3+m) \left (a+b \tanh ^{-1}\left (c x^2\right )\right )\right )+2 b c x^2 \, _2F_1\left (1,\frac {3+m}{4};\frac {7+m}{4};c^2 x^4\right )\right )}{(1+m) (3+m)} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(d*x)^m*(a + b*ArcTanh[c*x^2]),x]

[Out]

-((x*(d*x)^m*(-((3 + m)*(a + b*ArcTanh[c*x^2])) + 2*b*c*x^2*Hypergeometric2F1[1, (3 + m)/4, (7 + m)/4, c^2*x^4
]))/((1 + m)*(3 + m)))

________________________________________________________________________________________

Maple [F]
time = 0.02, size = 0, normalized size = 0.00 \[\int \left (d x \right )^{m} \left (a +b \arctanh \left (c \,x^{2}\right )\right )\, dx\]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((d*x)^m*(a+b*arctanh(c*x^2)),x)

[Out]

int((d*x)^m*(a+b*arctanh(c*x^2)),x)

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*x)^m*(a+b*arctanh(c*x^2)),x, algorithm="maxima")

[Out]

1/2*(4*c*d^m*integrate(x^2*x^m/(c^2*(m + 1)*x^4 - m - 1), x) + (d^m*x*x^m*log(c*x^2 + 1) - d^m*x*x^m*log(-c*x^
2 + 1))/(m + 1))*b + (d*x)^(m + 1)*a/(d*(m + 1))

________________________________________________________________________________________

Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*x)^m*(a+b*arctanh(c*x^2)),x, algorithm="fricas")

[Out]

integral((b*arctanh(c*x^2) + a)*(d*x)^m, x)

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \left (d x\right )^{m} \left (a + b \operatorname {atanh}{\left (c x^{2} \right )}\right )\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*x)**m*(a+b*atanh(c*x**2)),x)

[Out]

Integral((d*x)**m*(a + b*atanh(c*x**2)), x)

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*x)^m*(a+b*arctanh(c*x^2)),x, algorithm="giac")

[Out]

integrate((b*arctanh(c*x^2) + a)*(d*x)^m, x)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int {\left (d\,x\right )}^m\,\left (a+b\,\mathrm {atanh}\left (c\,x^2\right )\right ) \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((d*x)^m*(a + b*atanh(c*x^2)),x)

[Out]

int((d*x)^m*(a + b*atanh(c*x^2)), x)

________________________________________________________________________________________